package model.beans;

import java.util.HashMap;
import java.util.Map;

public class GradeBean {
	private int int_gradeId;
	private String str_criterio;
	private int int_porcentaje;
	private int int_planEstudio;
	private String academy;
	private String subject;
	private Map map_id = new HashMap();
	
	public GradeBean(int int_gradeId, String str_criterio, int int_porcentaje, int int_planEstudio, String academy, String subject) {
		super();
		this.int_gradeId = int_gradeId;
		this.str_criterio = str_criterio;
		this.int_porcentaje = int_porcentaje;
		this.int_planEstudio = int_planEstudio;		
		this.map_id.put("planEstudio", new Integer(this.int_planEstudio));
		this.map_id.put("grade_id", new Integer(this.int_gradeId));
		this.map_id.put("academy_id", academy);		
		this.map_id.put("subject_id", subject);		
	}
	
	public int getInt_gradeId() {
		return int_gradeId;
	}
	public void setInt_gradeId(int int_gradeId) {
		this.int_gradeId = int_gradeId;
		this.map_id.put("grade_id", new Integer(this.int_gradeId));
	}
	public int getInt_planEstudio() {
		return int_planEstudio;
	}
	public void setInt_planEstudio(int int_planEstudio) {
		this.int_planEstudio = int_planEstudio;
		this.map_id.put("planEstudio", new Integer(this.int_planEstudio));
	}
	public int getInt_porcentaje() {
		return int_porcentaje;
	}
	public void setInt_porcentaje(int int_porcentaje) {
		this.int_porcentaje = int_porcentaje;
	}
	public Map getMap_id() {
		return map_id;
	}
	public void setMap_id(Map map_id) {
		this.map_id = map_id;
	}
	public String getStr_criterio() {
		return str_criterio;
	}
	public void setStr_criterio(String str_criterio) {
		this.str_criterio = str_criterio;
	}

	public String getAcademy() {
		return academy;
	}

	public void setAcademy(String academy) {
		this.academy = academy;
		this.map_id.put("academy_id", new Integer(this.academy));	
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
		this.map_id.put("subject_id", new Integer(this.subject));		
	}	
}
